<?php

header('Content-Type: text/csv');
header('Content-disposition: attachment;filename=aposentadoria.csv');

$options = array('checkColumn' => false,
                 'editColumn' => false,
                 'seachGrid' => false);

echo $this->dataTable(new Application_Model_View_Servidor(), $options)
          ->exportCsv();

?>